package cn.btks.resultintegration.rule.service.impl;

import cn.btks.resultintegration.rule.pojo.ProductCategory;
import cn.btks.resultintegration.rule.repository.ProductCategoryRepository;
import cn.btks.resultintegration.rule.service.ProductCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author lijun
 * @Date 2021/10/15 14:47
 */
@Service
public class ProductCategoryServiceImpl implements ProductCategoryService {

    @Autowired
    ProductCategoryRepository productCategoryRepository;

    @Override
    public List<ProductCategory> findAll() {
        return productCategoryRepository.findAll();
    }
}
